package com.witmore.neutron.ai.db.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 智能体插件组关联表
 * </p>
 *
 * @author 豆子高
 * @since 2025-01-16
 */
@Getter
@Setter
@TableName("neutron_agent_plugin")
public class AgentPluginDO implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 智能助手ID
     */
    @TableField("agent_id")
    private Integer agentId;

    /**
     * 智能助手编码
     */
    @TableField("agent_code")
    private String agentCode;

    /**
     * 插件组ID
     */
    @TableField("plugin_group_id")
    private Integer pluginGroupId;

    /**
     * 插件组编码
     */
    @TableField("group_code")
    private String groupCode;

    /**
     * 插件组优先级
     */
    @TableField("priority")
    private Integer priority;

    /**
     * 是否启用 0否 1是
     */
    @TableField("enabled")
    private Integer enabled;

    @TableField("update_time")
    private LocalDateTime updateTime;

    @TableField("create_time")
    private LocalDateTime createTime;
}
